
%% 系统转动惯量计算
%电机+同步轮转动惯量
JM = 128e-7

%喷头机构等效转动惯量
D = 22.4e-3; %m
m = 0.8;
JL = m*(D/2)^2

Jtotal = JM + JL

%%电机扭矩系数计算
Uupper = 18.33
Vrpm_upper = 1000
Ulower = 1.86
Vrpm_lower = 100

Ke = (Uupper - Ulower)/((Vrpm_upper - Vrpm_lower)/60*2*pi)
% Kt = sqrt(3)*Ke
Kt = 262.5e-3

%% b0计算
b0 = Kt/Jtotal